package com.xzj.common.core.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: xzj-common
 * @ClassName: TreeEntity
 * @description: Tree基类
 * @author: XiaZunJun
 * @create: 2024-06-17 09:45
 */
@Data
@EqualsAndHashCode
public class TreeEntity<T> {
    /**
     * 子节点
     */
    private List<T> children = new ArrayList<>();

}
